<%@ page contentType="text/html;charset=UTF-8" import="java.util.*,com.beans.*,com.dao.CateDao" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<html>
<head>
    <base href="<%=basePath%>">
    <title>orderInfo</title>
    <link rel="stylesheet" type="text/css" href="css/edittable.css"/>
    <link rel="stylesheet" type="text/css" href="css/maintable.css" ></link>
</head>
<body>
	<div class="div_title">
		<div class="div_titlename"><img src="images/san_jiao.gif"><span>订单商品列表</span></div>
	</div>
	<table class="main_table">
	   <tr>
 			<th>商品名称</th>
 			<th>单位</th>
 			<th>单价</th>
 			<th>购买数量</th>
		</tr>
		<c:forEach var="goods" items="${orderGoodsList }">
			<tr>
				<td>${goods.goodsName }</td>
				<td>${goods.unit }</td>
				<td>${goods.price }</td>
				<td>${goods.saleCount }</td>
			</tr>
		</c:forEach>
    </table>
	<div class="div_title">
		<div class="div_titlename"><img src="images/san_jiao.gif"><span>订单详情列表</span></div>
	</div>
	<table class="edit_table">
	    <tr>
	        <td class="td_info">订单号:</td>
	        <td class="td_input_short">
	            <input type="text" disabled="disabled" class="txtbox" value="${order.orderNo}"/>
	        </td>
	        <td class="td_info">邮费:</td>
	        <td class="td_input_short">
	            <input type="text"  disabled="disabled" class="txtbox" value="${order.postage}"/>
	        </td>
	    </tr>
	    <tr>
	        <td class="td_info">付款方式:</td>
	        <td><input type="text"  disabled="disabled" class="txtbox" value="${order.payMethod}"/>
	        </td>
	        <td class="td_info">邮寄方式:</td>
	        <td><input type="text"  disabled="disabled" class="txtbox" value="${order.postMethod}"/>
	        </td>
	    </tr>
	    <tr>
	        <td class="td_info">下单日期:</td>
	        <td><input type="text"  disabled="disabled" class="txtbox" value="${order.orderDate}"/></td>
	        <td class="td_info">邮寄地址:</td>
	        <td><input type="text"  disabled="disabled" class="txtbox" value="${order.address}"/></td>
	    </tr>
	    <tr>
	        <td class="td_info">订单状态:</td>
	        <td><input type="text"  disabled="disabled" class="txtbox" value="${order.orderState}"/></td>
	        <td class="td_info">发货日期:</td>
	        <td><input type="text"  disabled="disabled" class="txtbox" value="${order.sendDate}"/></td>
	    </tr>
	    <tr>
	        <td class="td_info">订货金额:</td>
	        <td><input type="text"  disabled="disabled" class="txtbox" value="${order.amount}"/></td>
	        <td class="td_info">会员ID:</td>
	        <td><input type="text"  disabled="disabled" class="txtbox" value="${order.amount}"/></td>
	    </tr>
	    <tr>
	        <td class="td_info"></td>
	        <td><button onclick="window.history.back()" class="form_btn">返回</button></td>
	    </tr>
	</table>
</body>
</html>
